package com.lovo.shopSys.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data  //评论
@TableName(value = "sys_comment")
public class CommentEntity {
    @TableId(value = "commentId")
    private long commentId;
    @TableField(value = "commentText")
    private String commentText;
    @TableField(value = "commentImg")
    private String commentImg;
    @TableField(value = "commentScore")
    private int commentScore;
    @TableField(value = "commentDate")
    private String commentDate;


    private GoodsEntity goodsEntity;
    private ConsumerEntity consumerEntity;

}
